<html>
    <head>
        <meta charset="utf-8"/>
        <title>测试</title>
        <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    </head>
    <body>
        <h1>hello 你好</h1>
        <div id="app">
        </div>
    </body>
</html>

<script>
    var App = {
        template:"<h2>局部组件1122</h2>"
    }

    // let root = new Vue({
    //     el:"#app",
    //     components:{
    //         App,
    //     },
    //     template:"<App/>"
    // })

    let root = new Vue({
        render: h => h(App)
    }).$mount('#app')

</script>

